<?php if( $partner->getFilePath() ): ?>
    <?php echo image_tag('/uploads/partners/' . $partner->getFilePath() ) ?>
<?php endif; ?> 